package cn.controller.order;

import cn.service.orderService.OrderServiceImpl.UserServiceImpl;
import entity.Result;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author 朱颢阳
 * @description
 * @time 2024/8/28 11:45
 */
@RestController
@CrossOrigin
@RequestMapping("/order")
public class UserController {
    @Autowired
    UserServiceImpl service;
    @RequestMapping("/getuserInfo")
    public Result getuserInfo(String user_account){
        return service.getuserInfo(user_account);
    }
}
